package com.xur.springboot.controller;

import com.xur.springboot.entity.user_all;
import com.xur.springboot.entity.user_details;
import com.xur.springboot.service.user_allService;
import com.xur.springboot.service.user_detailService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public class user_allController {

    @Resource
    private com.xur.springboot.service.user_allService user_allService;


    @GetMapping("/queryInfoUser")
    public List<user_all> queryInfoUser() {
        System.out.println("查询了整合后的user信息：");
        return user_allService.queryInfoUser();
    }
}
